NSW government announces funding for eight new magistrates