redblacktree: Restructure weirdly structured if statements

Use 't' for tree name instead of 'T'