Utah legislature extends state of emergency for flooding