Gardiner, Thomas, Sir, active 17th century, Solicitor-General