St Johnstone boss Steve Lomas was full of praise for his players after they battled to a 1-0 win over 10-man Inverness.