If the job role changes significantly then they have to offer you redundancy. If that weren't the case, no company would ever pay redundancy because they could simply force staff into crappy jobs in order to oblige them to resign.