Maersk Drilling, a part of A.P. Moller-Maersk, said late Monday it had agreed to sell its 50 percent stake in Egyptian Drilling Company…