Pakistan ease to five-wicket win