I wrote the first sentence:
"He maintains to judge people fairly."
to mean: "He claims to judge people fairly" or "He urges everyone to judge people fairly."
For the second sentence, the patterns:
"to maintain [verb]-ing" or "to maintain to [verb]"
don't mean:
"to continue [verb]-ing" or "to continue to [verb]"?