Boris Johnson tells planning critics they’re wrong despite by-election humiliation