Buffalo trapped inside 50-foot-deep well, pulled to safety using ropes after relentless rescue efforts