Pakistan mosque frees two police