Pakistan edges Zimbabwe by 5 runs in one-dayer