China sentences ex-justice minister to life for bribery