Keith Pitt ordered to explain 'sudden haste' in finalising fracking grant by federal court