The state will close its remaining motel and hotel shelters this summer, Gov. Maura Healey announced Monday, as the governor and lawmakers have imposed restrictions on the emergency housing system over the past year and family enrollment has declined.