NEW YORK—Fifth Avenue in Manhattan fell silent as pallbearers carried the flag-draped casket of NYPD officer Jason Rivera up the steps of St. Patrick’s Roman Catholic Cathedral on the morning of Jan. 27. The only notable sounds came from a police helicopter hovering above and “Amazing Grace” played on a single bagpipe. Hundreds of New…