Housing plan for Lamb and Flag pub refused