Restore default SIGPIPE handler before invoking ‘man’

Fixes NixOS/nixpkgs#3410.