REM NUT ion exchange plus struvite precipitation process