Manchester United have reached an agreement in principle with Mauricio Pochettino to take over as head coach if Michael Carrick is sacked.