Mick Schumacher and McLaren to an agreement