HELSINKI, May 9 (Reuters) - Trimble Navigation Ltd agreed to buy Finnish software company Tekla Oyj for 337 million euros ($485 million) to expand its construction and infrastructure operations.