Tyler Shandro, Justice and Solicitor General