Simultaneous declines in stocks and bonds hammered public pension funds in the latest fiscal year, adding to pressure on government finances.