Snowflake surges 24% as AI demand lifts software sector