The incident occurred near the Paramekkavu temple while the elephant was being bathed