A dispute at Darcast Crankshafts in Birmingham has ended after workers secured a pay rise and changes to their terms and conditions, union Unite said.