Mpls. plan would prevent some firefighter layoffs