France put a raft of injuries behind them to withstand huge pressure and defeat South Africa 21-19 in a stunning Nations Championship victory in Paris.