Gary Deegan's goal and Ben Williams' penalty save helped Hibernian beat Aberdeen 1-0 in the Scottish Cup on Sunday.