New Mexico law signed to help wildfire, flooding recovery