Pirates release: Martin Perez