Wrexham booked a place in the last 16 of the FA Cup for the first time in 29 years thanks to a 1-0 win over Ipswich Town.