Bendigo and Adelaide Bank business arms wrote unfair loan terms: court