The remote village of Kipnuk planned to use the money to protect against flooding. On Sunday, it was inundated.