refactor(server): simplify error transformation with Effect.mapError in GitHubPullRequestCli (#7385)