Allow merging text domains without plural rules

This pull request fixes the issue addressed by #5277 in a much cleaner way. Thus closes #5277.