Government drops controversial planning reforms after Tory anger