The seaside town’s rule that new homes are kept for primary residences has been criticised for hampering supply