ME governor, treasurer reach deal to avoid summer construction shutdown