A broken bridge on the M1 and broken down horse box on the A1(M) has caused delays and congestion for travellers in Yorkshire.