Hospital expansion uncovers pauper's graveyard home to more than 1,000 coffins