Boston is one of many high-cost cities immersed in a nationwide debate over minimum housing sizes. San Francisco is now allowing units as small as 220 square feet.