Hyderabad FC secured their first victory in nine Indian Super League matches with a thrilling 3-2 comeback win over Jamshedpur FC.