The PM breaks MoD accounting rule to free up hundreds of millions of pounds for £4bn contract for two aircraft carriers