Motion of a deformable capsule through a hyperbolic constriction