A dispute at BMW's UK manufacturing operations over pensions has been resolved after the company submitted a revised offer.