Four inmates at a Texas prison have been charged with murder after the death of a fellow prisoner.