Whatmore to leave as Pakistan coach in February