Use element access operator in RankFourTensor (#4183)