Malaysia agrees to allow US firm to resume search for MH370