Both McLarens went off track at the Bahrain International Circuit during P1 as the team made a difficult start to the new season.