Teradyne Reports Profit Decline in Q4