Protesters in Chile have forced the government of President Sebastián Piñera to agree to a referendum on possible changes to the nation’s constitution next April.