Portsmouth have completed the signing of Ben Chorley after the experienced defender was released by Stevenage.