Hard-congestion limit of the p-system in the BV setting