The bill hopes to fulfil Labour’s manifesto and permanently protect Ed Miliband’s moratorium on new oil and gas drilling projects