Rangers secure their first win over St Mirren in more than a year to end 2025 within six points of Scottish Premiership leaders Hearts and within three of Celtic.